package com.design.found.builder.atguigu;

/**
 * @ProjectName: design
 * @Package: com.design.found.builder.atguigu
 * @ClassName: AbstractHouse
 * @Author: shenaiguo
 * @Description: 建房子
 * @Date: 2020/8/30 0030 15:17
 */
public abstract class AbstractHouse {
    //打地基
    public abstract void buildBasic();

    //砌墙
    public abstract void buildWalls();

    //封顶
    public abstract void roofed();


    public void build() {
        buildBasic();
        buildWalls();
        roofed();
    }

}
